package jhr.cms.service;

import java.io.Serializable;
import java.util.List;

import jhr.cms.domain.ServiceException;
import jhr.cms.domain.User;

public interface UserServiceIF {
	User save(User u) throws ServiceException;
	User update(User u) throws ServiceException;
	void delete(User u) throws ServiceException;
	void delete(Serializable id) throws ServiceException;
	User get(Serializable id) throws ServiceException;
	User login(String name, String password) throws ServiceException;
	List<User> find(String hql, int start, int size, Object... args) throws ServiceException;
}
